﻿using System;
namespace Pay.DTO.rpay2 {
	/// <summary>
	/// 请求基类
	/// </summary>
	public class rpay2_req_base {
		public rpay2_req_base() {
		}
		/// <summary>
		/// 渠道代理商标识
		/// </summary>
		public string partner { get; set; }
		/// <summary>
		/// 随机字符串
		/// </summary>
		public string nonce_str { get; set; }
		/// <summary>
		/// 签名
		/// </summary>
		public string sign { get; set; }
		/// <summary>
		/// 编码
		/// </summary>
		public string charset { get { return "UTF-8"; } }
	}

	/// <summary>
	/// 响应基本信息
	/// </summary>
	public class rpay2_resp_base {
		/// <summary>
		/// 状态
		/// </summary>
		public string status { get; set; }
		/// <summary>
		/// 错误消息
		/// </summary>
		public string message { get; set; }
		/*status 为 0000 有下面内容*/

		/// <summary>
		/// 银行进件状态
		/// </summary>
		public string result_code { get; set; }
		/// <summary>
		/// 银行进件描述
		/// </summary>
		public string result_msg { get; set; }
		/// <summary>
		/// 代理商渠道标识
		/// </summary>
		public string partner { get; set; }
		/// <summary>
		/// 签名
		/// </summary>
		public string sign { get; set; }
	}
}
